@import '@/styles/variables.scss';
@font-face {
	font-family: "PingFangSC";
	src: url("https://file.dgyxy.com/resource/font/PingFangSC-Regular.woff2");
}

body { font-family: "PingFangSC" }
.page{
	height: calc(100vh);
	background-color: $gray-50 !important;
}

.uni-tabbar-border{
	background-color: transparent !important;
}

.nav-search {
	width: 100px;
	height: 100%;
	border-radius: 15rpx;

	:deep(.uni-searchbar) {
		padding: 0 !important;
		border-radius: 15rpx;
	}
}

.uni-simple-toast__text{
	background-color: $gray-700;
	border-radius: 8px;
	padding: 12px 16px;
	font-size: 16px;
}
.uni-mask{
	background: rgba(0, 0, 0, 0.6) !important;
}

.uni-toast{
	border-radius: 8px;
	max-width: 80% !important;
	width: unset !important;
	background-color: $gray-700;
	border-radius: 8px;
}

.uni-modal{
	border-radius: 8px;
	max-width: 80% !important;
	.uni-modal__hd{
		box-sizing: border-box;
		padding: 12px 16px;
	}
	.uni-modal__bd{
		font-size: 16px;
		min-height: 120px;
		padding: 32px 16px;
		border-bottom: 1px solid $gray-200;
		border-top: 1px solid $gray-200;
	}
	.uni-modal__ft:after{
		display: none;
	}
	.uni-modal__ft{
		gap: 12px;
		line-height: unset !important;
		padding: 12px 16px;
		.uni-modal__btn:after{
			display: none;
		}
		.uni-modal__btn{
			padding: 8px 16px;
			border-radius: 20px;
			font-size: 16px;
			width: 153.5px;
		}
		.uni-modal__btn_default{
			border: 1px solid $brand-500;
			color: $brand-500 !important;
		}
		.uni-modal__btn_primary{
			border: 1px solid $error-500;
			background-color: $error-500;
			color: $white !important;
		}
	}
}

.uni-app--showtabbar :deep(uni-page-wrapper::after){
	background-color: #FAFAFA !important;
}